<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/CustomDocFunctionV2.js"></script>
    <script src="js/wps.js"></script>
    <script src="js/wps_sdk.js"></script>
</head>
<body>
    <button onclick="openDoc('','http://localhost:8078/api/attachment/api/upload','李四')">查看正文-新建</button>
    <button onclick="openDoc('http://localhost:8078/api/attachment/api/downloadFile?fileName=/2020/11/13/2c5b4d7687c44d36f22263983840f374.docx','http://localhost:8078/api/attachment/api/upload','张三')">查看正文-打开2</button>
    <!--文件下载路径、文件上传路径、红头模板下载路径-->
   <button onclick="editGwDocV2('http://localhost:8078','','upload/2020/11/13/7cb564f6c6b03aeab9992d3def175b3f.docx','','','BK_BT($:$)关于正式使用在线办公系统的通知','','张三')">制版</button>-->
   <!-- 正文下载路径，红头模板下载路径-->
    <button onclick="insertRedHeader('http://localhost:8078/api/attachment/api/downloadFile?fileName=upload/2020/11/13/7cb564f6c6b03aeab9992d3def175b3f.docx','http://localhost:8078/api/attachment/api/downloadFile?fileName=upload/2020/11/13/mb1.doc','BK_BT($:$)关于正式使用在线办公系统的通知')">套红</button>
</body>
<script >

</script>
</html>